import { Component } from 'react'

const ContrilItem = (options) => {
    console.log(options)
    return (WrapComponent) => {
        return class extends Component {
            render() {
                return <WrapComponent {...options} {...this.props} />
            }
        }
    }
}

export default ContrilItem